from redis import StrictRedis
class Config:
    SECRET_KEY='na5ns9dn0w4F6Qb8YmowAqFnET9+tZMMflAoQ37ga41q7yuzlRr/dg=='

    DEBUG=None
    SESSION_TYPE='redis'
    SESSION_REDIS=StrictRedis()
    SESSION_USE_SIGNER=False
    PERMANENT_SESSION_LIFETIME=86400
    
    SQLALCHEMY_DATABASE_URI='mysql://root:mysql@localhost:3306/ptyhon3701'
    SQLALCHEMY_TRACK_MODIFICATIONS=False
class Develop(Config):
    DEBUG = True

class Product(Config):
    DEBUG = False

config_dict={
    'dev':Develop,
    'pro':Product
}